<div ng-controller="addProductCtrl
">
    <h4>添加奖品商品</h4>

    <form class="form account-form">
        <label class="control-label">商品名称：</label>
        <input class="form-control" ng-model="productName" required tabindex="4" autofocus>
        <label class="control-label">库存：</label>
        <input class="form-control" ng-model="inventory" required tabindex="5">
        <label class="control-label">商品类型：</label>
        <label class="radio-inline">
            <input type="radio" name="inlineRadioOptions" id="inlineRadio1" ng-model="type" value="1">实物
        </label>
        <label class="radio-inline">
            <input type="radio" name="inlineRadioOptions" id="inlineRadio2" ng-model="type" value="2">情值
        </label>
        <br /><br />
        <!--<label class="control-label">是否上架：</label>
        <label class="radio-inline">
            <input type="radio" name="inlineRadioOptions" id="inlineRadio3" ng-model="isUse" value="1">是
        </label>
        <label class="radio-inline">
            <input type="radio" name="inlineRadioOptions" id="inlineRadio4" ng-model="isUse" value="0">否
        </label>
        -->


        <div class="form-group">
            <button ng-click="cannel()" class="btn btn-xs btn-primary">取消</button>
            <button ng-click="add()" class="btn btn-xs btn-primary" type="submit">保存</button>
        </div>
    </form>
</div>

